package oop1;

/**
 * @author oldliu
 * @since 1.0
 */
public class SchoolDemo6 {
    public static void main(String[] args) {
        //创建张松的学校，School对象
        School zhang=new School();
        zhang.name="安徽工业大学";
        zhang.address="淮南";
        zhang.classrooms=32;
        zhang.labs=19;
        //创建张松的学校，School对象
        School li=new School();
        li.name="安徽工业大学";
        li.address="淮南";
        li.classrooms=32;
        li.labs=19;

        System.out.println(zhang==li);
    }
}
